package com.ruoyi.base.service;

import com.ruoyi.base.domain.Store;
import com.ruoyi.base.mapper.StoreMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StoreService {

    @Autowired
    private StoreMapper storeMapper;

    public Store findStoreByCodeAndName(String storeCode, String productName) {
        Store store = new Store();
        store.setStoreCode(storeCode);
        store.setProductName(productName);
        store.setInventoryCategory("入库");
        return storeMapper.selectStoreByCodeAndName(store);
    }
}
